This is a readme to compile Starlab's Enobio Driver integrated to OpenVibe. 
Compilation has been tested, _but_not_ execution.

Prepared by Anton Albajes-Eizagirre (anton.albajes-eizagirre@starlab.es)
December 2011

Corresponding to OpenVibe version openvibe-0.12.0-svn3107

There should be three directories included with this package:
- cmake-modules/
- enobio_api/
- openvibe-applications/

enobio_api is external to OpenVibe, is the enobio api's SRC.
The structure on openvibe-applications/ and cmake-modules replicate the structure of the directoy with the same name on OpenVibe's SRC (OVSRC from now on) root directory.


In cmake-modules/ there should be two files:
- FindThirdPartyQT.cmake
- FindThirdPartyStarlabEnobioAPI.cmake


In order to compile the dirver and openvibe, you'll need QT SDK and to compile enobio's API, found on enobio_api (MS VStudio .sln file provided).

Steps:

- Edit CMakeLists.txt on OVSRC (openvibe-applications\acquisition-server\trunc\CMakeLists.txt): add two lines:
	INCLUDE("FindThirdPartyStarlabEnobioAPI")
	INCLUDE("FindThirdPartyQT")
- Edit FindThirdPartyStarlabEnobioAPI.cmake and FindThirdPartyQT.cmake (found at cmake-modules/) to point to enobio_api's path and QT SDK's path. Library paths should be also specified.
- Copy modified files and rest of files to the corresponding placement on OVSRC (same placement as on the replica)
- Compile OVSRC regularly as specified on OVSRC's documentation